package com.mjk.common.ai.entity;


import com.mjk.common.base.model.BaseEntity;
import com.mjk.common.core.jdbc.annotation.ArcSharding;
import com.mjk.common.core.jdbc.annotation.Filed;
import com.mjk.common.core.jdbc.annotation.Id;
import com.mjk.common.core.jdbc.service.idgenerator.IdGenerateType;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * Draw comment
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ArcSharding(dataSource = "pg", table = "adi_draw_comment")
public class DrawComment extends BaseEntity {

    @Id(type = IdGenerateType.AUTO_UUID)
    private Long id;

    @Filed(cloum = "create_time")
    private LocalDateTime createTime;

    @Filed(cloum = "update_time")
    private LocalDateTime updateTime;

    @Filed(cloum = "is_deleted", comment = "是否删除（0：未删除，1：已删除）")
    private Boolean isDeleted;

    @Filed(cloum = "uuid")
    private String uuid;

    @Filed(cloum = "user_id")
    private Long userId;

    @Filed(cloum = "draw_id")
    private Long drawId;

    @Filed(cloum = "remark")
    private String remark;
}
